<aside id="sidebar">
	<div style="width:100%;height:300px;margin-bottom:10px;background-color:#aaa;"></div>
	<div class="sidebar-widget">
		<h3 class="sidebar-widget-title">Recommended Posts</h3>
		<ul class="recommended">
			<?php foreach($recommend_post as $recommend_rec): ?>
				<?php  
				$recom_id = $recommend_rec['jonu_post_id'];
				$recom_tgl = substr($recommend_rec['jonu_post_date'], 8,2);
				$recom_bln = substr($recommend_rec['jonu_post_date'], 5,2);
				$recom_permalink = $recom_bln.'/'.$recom_tgl.'/'.$recom_id.'/'.$recommend_rec['jonu_post_permalink'];						
				?>
				<li>
					<img src="<?php echo base_url("asset/img/posts-image/$recommend_rec[jonu_post_image]") ?>" class="recommended-img">
					<a href="<?php echo site_url("post/show/$recom_permalink") ?>" class="recommended-title"><?php echo $recommend_rec['jonu_post_title'] ?></a>
				</li>
			<?php endforeach; ?>
		</ul>
	</div>
</aside>